package com.alit.face.koala.entity;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author litong
 * @date 2019年4月27日_下午8:07:39
 * @version 1.0
 * @desc koala回调数据记录
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Entity
@Table(name = "koala_history_callback")
public class KoalaHistoryCallback {
  @Id
  @GeneratedValue(strategy = GenerationType.IDENTITY)
  private Integer id;
  private String ip;
  private String screenToken;
  private Long timestamp;
  private String photoMD5;
  private Double age;
  private Double gender;
  private Double quality;
  private Integer subjectId;
  private String name;
  private Integer subjectGender;
  private boolean isSayHello; //1 打招呼 0,没有打招呼
}
